package kr.co.doriclassic.powerjava.chapter09;

public class TestDate {
	public static void main(String[] args) {
		Time t = new Time(12, 23, 11);
		Date d = new Date(2014, 9, 18, t);
		
		Time t1 = d.getTime();
		t1.setHour(23);
		t1.setMinute(22);
		t1.setSecond(33);
		System.out.println(d);
		
	}
}
